package com.hulk.ratel.common.constant.enums;

import com.google.common.base.Objects;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author hulk
 *
 */
@Getter
@AllArgsConstructor
public enum DayCutStatus {
	
	_04("04", "未日切"),
	_01("01", "已日切"),
	_03("03", "日切中");

	private String value;
	private String desc;

	public static String explain(String value) {
		for (DayCutStatus obj : DayCutStatus.values()) {
			if (Objects.equal(value, obj.value)) {
				return obj.desc;
			}
		}
		return value;
	}
	


}
